package com.miaoji.service;

import com.miaoji.domain.po.Combo;
import com.miaoji.domain.po.ComboDetail;
import com.miaoji.domain.vo.ComboVo;

import java.util.List;

public interface ComboService {
    void ComboNew(Combo combo);//增加套餐
    void ComboUpdate(Combo combo);//修改套餐
    void ComboDelete(Combo combo);//删除整个套餐
    List<Combo> ComboSelect(Combo combo);//查询套餐
    List<Combo> ComboSelectAll();//返回Combo的id

    void ComboDetaileNew(ComboDetail comboDetail);//增加套餐明细
    void ComboDetailDelete(ComboDetail comboDetail);//删除套餐明细
    void ComboDetailUpdate(ComboDetail comboDetail);//修改套餐明细
    List<ComboDetail> ComboDetailSelect(Combo combo);//查询套餐明细
    List<ComboVo> ComboselectAllList();//查询全部套餐汇总+套餐明细


}
